package juego.mundo;

import juego.util.AABB;

public class Losa {
	
	private char ID;
	private int x;
	private int y;
	private boolean colisionableIzq;
	private boolean colisionableDch;
	private boolean colisionableArr;
	private boolean colisionableAba;
	
	public Losa() {
		
	}
	
	public Losa(int x, int y, char id) {
		this.x = x;
		this.y = y;
		this.ID = id;
		this.colisionableIzq = true;
		this.colisionableDch = true;
		this.colisionableArr = true;
		this.colisionableAba = true;
	}
	
	public Losa(int x, int y, char id, boolean colIzq, boolean colDch, boolean colArr, boolean colAba) {
		this.x = x;
		this.y = y;
		this.ID = id;
		this.colisionableIzq = colIzq;
		this.colisionableDch = colDch;
		this.colisionableArr = colArr;
		this.colisionableAba = colAba;
	}

	public char getID() {
		return ID;
	}

	public void setID(char id) {
		this.ID = id;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public boolean isColisionableIzq() {
		return colisionableIzq;
	}

	public void setColisionableIzq(boolean colisionableIzq) {
		this.colisionableIzq = colisionableIzq;
	}

	public boolean isColisionableDch() {
		return colisionableDch;
	}

	public void setColisionableDch(boolean colisionableDch) {
		this.colisionableDch = colisionableDch;
	}

	public boolean isColisionableArr() {
		return colisionableArr;
	}

	public void setColisionableArr(boolean colisionableArr) {
		this.colisionableArr = colisionableArr;
	}

	public boolean isColisionableAba() {
		return colisionableAba;
	}

	public void setColisionableAba(boolean colisionableAba) {
		this.colisionableAba = colisionableAba;
	}
	
}
